  class Innate_Skill_006 < Innate_Skill
    attr_accessor   :name
    attr_accessor   :level
    def initialize(actor)
      super(actor)
      @name = '高维生物'
      @type = 2
      @energy_cost = 1
      @description = '在攻击形态与速度形态中切换'
      @icon_name = "nova-s-02"
    end
    def use
      super
      if actor.buff_state.exist_buff(3)
        actor.buff_state.remove_buff(3)
        actor.buff_state.add_buff(2, 1)
        action = Action_Bit.new(@actor, 1)
        action.set_detail(63)
        action_flow.add_action(action)
        return
      end
      actor.buff_state.remove_buff(2)
      actor.buff_state.add_buff(3, 1)
      action = Action_Bit.new(@actor, 1)
      action.set_detail(63)
      action_flow.add_action(action)
    end
    def on_battle_start
      actor.buff_state.add_buff(2, 1)
      action = Action_Bit.new(@actor, 1)
      action.set_detail(63)
      action_flow.add_action(action)
    end
    def next_level_description
      return "攻击形态额外增加5%的伤害，速度形态额外增加5%的速度"
    end
  end
